package com.cg.config;

import com.cg.filter.OperateTokenFilter;
import com.cg.filter.ParamFilter;
import com.cg.filter.SourceFilter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName FilterConfig
 * @Description 过滤器配置类
 * @Author CG
 * @Date 2023/11/24 17:25
 **/
@Configuration
public class FilterConfig {

    @Bean
    public ParamFilter paramFilter(){
        return new ParamFilter();
    }


    @Bean
    public OperateTokenFilter operateTokenFilter(){
        return new OperateTokenFilter();
    }


    @Bean
    public SourceFilter sourceFilter(){
        return new SourceFilter();
    }
}
